body{
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    
    
}
html{
    scroll-behavior: smooth;
}



/* 头部 */
.header{
    width: 100%;
    height: 60px;
    background-color: #232222;
    /* z-index: -1; */
    /* transition: opacity .5s; */
    display: flex;
    justify-content: space-between;

     /* 滚动时固定在顶部 */
  position: sticky;
  top: 0;
  z-index: 9;
}
/* 头部Logo */
.logo{
    width: 110px;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 10px;
}

.nav ul li a{
    text-decoration: none;
    color: white;
}
ul{
    list-style: none;
}
/* 头部导航栏 */
nav>ul{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 23px;
}
nav{
    display: flex;
  justify-content: center; 
  flex-grow: 1; 
}

nav,ul{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/* 工具栏 */
.tool{
    width: 200px;
    height:100%;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 10px;
}
.tool>a{
    font-size: 30px;
    text-decoration: none;
    color: #fff;
}
.vip ,.login{
    width: 60px;
    height: 30px;
    border-radius: 15px;
    background-color: rgba(252, 252, 252, 0.5);
    line-height: 30px;
    text-align: center;
    font-size: 15px;
}


/* 轮播图 */
.carouselImage{
    width: 100%;
    position: relative;
}
.carousel{
    width: 100%;
}
.carousel>img{
    width: 100%;
    height: auto;
}
.left, .right{
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 20px;
    background-color: rgba(252, 252, 252, 0.6);
    position: absolute;
    top: 170px;
    color: #232222;
    text-decoration: none;
}
.left{
    left: 100px;
}
.right{
    right: 100px
}
.indicators{
    display: flex;
    gap: 13px;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translate(-50%);
}
.indicators li{
    background-color: rgba(252, 252, 252, 0.6);
    width: 14px;
    height: 14px;
    border-radius: 7px;
}

/* 推荐内容 */
.recommend{
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    transform: translateY(-30%);
}
.recommend div{
    width: 300px;
    height: 164px;
    border-radius: 15px;
    overflow: hidden;
}
.recommend div img{
    width: 300px;
    transition: transform 0.8s ease;
}
.recommend div img:hover{
    transform: scale(1.1);
}

.bodyArti{
    width: 1400px;
    height: 3000px;
    background-color: #b18585;
    margin-left: auto;
    margin-right: auto;
}

/* 主体内容导航栏 */
.tab{
    display: flex;
    
    height: 40px;
    width: 100%;
    background-color: #f4f4f4;
     /* 滚动时固定在顶部 */
  position: sticky;
  top: 60px;
  z-index: 8;
}
.tab li{
    height: 40px;
    width: 100px;
    line-height: 40px;
    text-align: center;
    list-style-type: none;
    border-bottom: 3px solid #f4f4f4;
}
.tab li a{
    text-decoration: none;
    color: #9a9494;
    
}
.tab li:hover {
    border-bottom: 3px solid #d51010;
    color: #d61f20
}

/* 主体内容 */


.contain{
    display: flex;
    gap: 58px;
}




/* 文章部分 */
.article{
    display: flex;
    height: 251px;
    margin-bottom: 15px;
    transition: transform 0.8s ease;
    
    
}
.article>img{
    width: 500px;
    height: 251px;
}


.article>img+div{
    width: 500px;
    height: 251px;
    background-color: white;  
}
.user{
    float: left;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}
.user img{
    width: 30px;
    border-radius: 50%;
}

.comment{
    float: right;
    color: #948782;
    display: flex;
    gap: 15px;
    margin-right: 10px;
}

.content{
    height: 200px;
}


/* 侧边栏 */
aside.fixed{
    position: fixed;
    top: 95px;
    right: 59px;
}
/* 上部 */
.asideImg img{
    border-radius: 10px;
    width: 343px;
    margin-bottom: 40px;
}
.asideImg{
    margin-bottom: 15px;
    width: 343px;
}

/* 侧边栏中部 */
.sec-middle{
    width: 343px;
    background-color: #fff;
}
/* 头部Logo */
.sec-middle-img{
    height: 40px;
}
.sec-middle-img >img{
    height: 40px;
    margin-left: 15px;
}

/* 内容框 */
.asideSection{
    width: 343px;
    margin-bottom: 10px;
}

/* 内容 */
.asideSectionContent{
    display: flex; 
    align-items: center;
    justify-content: center;
    height: 150px;
}
.asideSectionContent>div{
    width: 230px;
}
.asideSectionContent>img{
    border-radius: 10px;
    width:79px;
}
/* 热度 */
.asideSectionContent+div{
    margin-left: 15px;
    color: #4e3836;
}

/* 查看更多 */
aside a{
    height: 30px;
    line-height: 30px;
    margin-left: 15px;
    text-decoration: none;
    color: #4e3836;
}

/* 
/* 侧边栏底部 */
.asideFoot{
    width: 343px;
    background-color: #fff;
}
.asideFoot.fixed{
    position:fixed;
}
.asideSectionFoot{
    background-color: #fff;
    padding:10px;

}
.asideSectionFoot>div{
    height: 50px;
    
}
.asideLogo{
    display: flex;
    align-items: center;
    height: 60px;
    width: 343px;
    background-color: #fff;
}

.asideLogo>img{
    width: 50px;
}

.asideUser{
    display: flex;
    align-items: center;
}
.asideUser>img{
    border-radius: 50%;
    width: 30px;
} 



/* 吸附到侧边栏的足部 */
.asideExtraFoot{
    width: 343px;
    /* margin-top: 20px; */
    background-color: #fff;
    
}
.asideExtraFoot.fixed{
    position:fixed;
}
.line{
    width: 300px;
    height: 3px;
    background-color: #e5e5e5;
    margin: auto;
}
.asideExtraFoot-icon{
    margin-top: 30px;
    width: 343px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.asideExtraFoot-help{
    width: 343px;
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
}
.asideExtraFoot-help li{
    /* height: 20px; */

}
.circle{
    font-size: 27px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9a9494;
    background-color: #fff;
}

/* 回到顶部工具栏 */
.backTool{
    width: 50px;
    height: 120px;
    position: fixed;
    z-index: 9;
    bottom: 20px;
    right: 50px;
    display: flex;
    flex-direction: column; 
    gap: 20px;
}
.pen{
    color: #fd2416;
    
}
.back{
    color: #9a9494;
}
.pen,.back{
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color:#fff;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

footer{
    width: 100%;
    height: 100px;
    background-color: #232222;
}

.footLeft{
    float: left;
    /* width: 100px; */
    height: 100px;
    display: flex;
    gap: 14px;
    margin-left: 100px;
}
.footRight{
    float: right;
    margin-right: 140px;
    width:600px;
    height: 100px;
}
.footRight>ul{
    display: flex;
    gap: 14px;
    height: 50px;
    width: 530px;
    line-height: 5;
    float: right;
    color: #f5f8fe;
}

.footRight>p{
    float: right;
    color:#736f68;
    height: 50px;
    font-size: small;
}

